@charset "utf-8";

@import "common";
$width:100%;
@mixin login_right_a{
    display: block;
    width: 280px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    text-align: center;
    border-radius: 4px;
    position: relative;
}
.op-alone{
    width: $width;
    background: #e5e5e5;
    padding-top: 60px;
    padding-bottom: 60px;
    box-sizing: border-box;
//  display: table;
    .auto-middle{
        vertical-align: middle;
//      display: table-cell;
    }
    .login{
        margin: 0 auto;
        max-width: 740px;
        background: #efefef;
        box-sizing: border-box;
        .login-box{
            background: #EFEFEF;
            width: 740px;
            padding: 15px 50px;
            box-sizing: border-box;
            .login-left{
                border-right: 1px solid #dfdfdf;
                padding-right: 30px;
//              float: left;
                width: 300px;
                display: inline-block;
                .login-head{
                    font-size: 16px;
                    color: #212121;
                    padding: 20px 0;
                }
                .input-box{
                    width: 300px;
                    padding: 5px 0;
                    margin: 0 auto;
                    .loginuser{
                        padding-right: 40px;
                        box-sizing: border-box;
                        width: $width;
                        height: 40px;
                        padding: 0;
                        border-radius: 4px;
                        font-size: 14px;
                        text-indent: 20px;
                        border: none;
                    }
                }
                .remeberme{
                    height:42px;
                    line-height: 42px;
                    a{
                        color: #09c;
                        font-size: 14px;
                        height: 42px;
                        line-height: 42px;
                        float: right;
                    }
                }
                .login-btn{
                    position: relative;
                    display: block;
                    width: 300px;
                    height: 52px;
                    font-size: 14px;
                    border: 1px solid #d70226;
                    background: #eb0028;
                    border-radius: 4px;
                    color: #FFFFFF;
                    text-align: center;
                    margin: 10px auto;
                    line-height: 52px;
                    &:hover{
                        &:before{
                            width: 300px;
                        }
                    }
                    &:before{
                        content: '';
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 1px;
                        height: 100%;
                        background: #D70226;
                        transition: width .15s ease 0s;
                        -webkit-transition: width .15s ease 0s;
                    }
                    span{
                        position: absolute;
                        left: 0;
                        top: 0;
                        height: 100%;
                        width: $width;
                        text-align: center;
                        z-index: 2;
                    }
                }
                .login-no-box{
                    width: 300px;
                    margin: 0 auto;
                    font-size: 14px;
                    height: 40px;
                    line-height: 40px;
                    color: #666;
                    a{
                        font-size: 14px;
                        color: #09c;
                        height: 42px;
                        line-height: 42px;
                        text-decoration: none;
                    }
                }
            }
            .login-right{
                display: inline-block;
                vertical-align: top;
                .login-title{
                    font-size: 16px;
                    padding: 20px 0;
                    color: #212121;
                }
                .qq{
                    background: #17b4df;
                    color: #FFFFFF;
                    @include login_right_a;
                    &:hover{
                        &:before{
                            opacity: .1;
                            transition: opacity .2s;
                        }
                    }
                    &:before{
                        content: '';
                        position: absolute;
                        width: $width;
                        height: 100%;
                        left: 0;
                        top: 0;
                        background: #000000;
                        opacity: 0;
                        transition: opacity .2s; 
                    }
                    span{
                        display: inline-block;
                        background-image: url(../img/icons.png);
                        background-repeat: no-repeat;
                        background-position: 0 -1215px;
                        width: 20px;
                        height: 20px;
                        vertical-align: middle;
                        margin-right: 10px;
                    }
                }
                .wb{
                    margin-top: 10px;
                    background: #FFFFFF;
                    color: #333;
                    border: 1px solid #DFDFDF;
                    @include login_right_a;
                    span{
                        display: inline-block;
                        background-image: url(../img/icons.png);
                        background-repeat: no-repeat;
                        background-position: 0 -1721px;
                        width: 20px;
                        height: 20px;
                        vertical-align: middle;
                        margin-right: 8px;
                    }
                     &:hover{
                        &:before{
                            opacity: .1;
                            transition: opacity .2s;
                        }
                    }
                    &:before{
                        content: '';
                        position: absolute;
                        width: $width;
                        height: 100%;
                        left: 0;
                        top: 0;
                        background: #000000;
                        opacity: 0;
                        transition: opacity .2s; 
                    }
                }
                .wx{
                    margin-top: 10px;
                    background: #00bb0d;
                    color: #FFFFFF;
                    @include login-right_a;
                    span{
                        display: inline-block;
                        background-image: url(../img/icons.png);
                        background-repeat: no-repeat;
                        background-position: 0 -1781px;
                        width: 20px;
                        height: 20px;
                        vertical-align: middle;
                        margin-right: 8px;
                    }
                     &:hover{
                        &:before{
                            opacity: .1;
                            transition: opacity .2s;
                        }
                    }
                    &:before{
                        content: '';
                        position: absolute;
                        width: $width;
                        height: 100%;
                        left: 0;
                        top: 0;
                        background: #000000;
                        opacity: 0;
                        transition: opacity .2s; 
                    }
                }
            }
        }
    }
}
.clearfix{
    zoom: 1;
}
.clear{
    clear: both;
}
